$primary-color: #1296db;

//文字超过指定行数显示省略号
@mixin ellipsis($rowCount: 1) {
  @if $rowCount==1 {
    word-break: break-all;
    white-space: nowrap;
  } @else {
    display: -webkit-box;
    -webkit-line-clamp: $rowCount;
    -webkit-box-orient: vertical;
  }
  overflow: hidden;
  text-overflow: ellipsis;
}